<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			var a = '张三';
			var b = '29期';
			//----------------字符串拼接------------------------------
			var c = a + ',' + b;
			// console.log(a);//张三
			// console.log(b);
			// console.log(c);
			
			//只要 + 左边 | 右边 | 两边 有字符串, 连接符
			console.log('张三' + 6);
			
			//----------------字符串嵌套------------------------------
			var d = "'张三'";   //& * $ # @ ~
			d = '"29期"';
			console.log(d);
			//'张三'
		</script>
	</head>
	<body>
	</body>
</html>
